﻿using System.Collections.Generic;
using System.Data;
using BrnMall.Core;

namespace QIDong.WeApp.Models
{
    /// <summary>
    /// 新闻类型列表模型类
    /// </summary>
    public class NewsTypeListModel
    {
        /// <summary>
        /// 新闻类型列表
        /// </summary>
        public List<NewsTypeInfo> NewsTypeList { get; set; }
    }

    public class NewsTypeOutDto
    {
        public NewsTypeInfo NewsTypeInfo { get; set; }
        public DataTable News { get; set; }
    }

    /// <summary>
    /// 新闻模型类
    /// </summary>
    public class NewsModel
    {
        public NewsInfo NewsInfo { get; set; }
        public List<NewsTypeInfo> NewsTypeList { get; set; }
    }
    /// <summary>
    /// 新闻列表模型类
    /// </summary>
    public class NewsListModel
    {
        /// <summary>
        /// 分页对象
        /// </summary>
        public PageModel PageModel { get; set; }
        /// <summary>
        /// 新闻列表
        /// </summary>
        public DataTable NewsList { get; set; }
        /// <summary>
        /// 新闻类型id
        /// </summary>
        public int NewsTypeId { get; set; }
        /// <summary>
        /// 新闻类型列表
        /// </summary>
        public List<NewsTypeInfo> NewsTypeList { get; set; }
        /// <summary>
        /// 新闻标题
        /// </summary>
        public string NewsTitle { get; set; }
    }

    
}
